package com.company.cloud.work.constant;

import com.company.cloud.common.constant.BaseCodeEnum;

public class CrmWorkConstant {

	
	/**提醒时间分类*/
	public enum RemindDateEnum implements BaseCodeEnum{
		RD_Start("1","开始时"),
		RD_5_Minute("2","5分钟前"),
		RD_15_Minute("3","15分钟前"),
		RD_1_Minute("4","30分钟前"),
		RD_1_hour("5","1小时前"),
		RD_2_hour("6","2小时前"),
		RD_Start_Day("7","开始当天"),
		RD_1_Day("8","1天前"),
		RD_2_Day("9","2天前"),
		RD_1_Week("10","1周前"),
		;
		private String code;
		private String msg;
		RemindDateEnum(String code, String msg) {
			this.code = code;
			this.msg = msg;
		}
		@Override
		public String getCode() {
			return code;
		}
		@Override
		public String getMsg() {
			return msg;
		}
	}
	
	/**重复分类*/
	public enum RepeatType implements BaseCodeEnum{
		RT_Every_Day("1","每天"),
		RT_Every_Week("2","每周"),
		RT_Every_2Week("3","每2周"),
		RT_Every_Month("4","每月"),
		;
		private String code;
		private String msg;
		RepeatType(String code, String msg) {
			this.code = code;
			this.msg = msg;
		}
		@Override
		public String getCode() {
			return code;
		}
		@Override
		public String getMsg() {
			return msg;
		}
	}
	
	/**任务状态*/
	public enum TaskStateEnum  implements BaseCodeEnum{
		TS_Not("1","未执行"),
		TS_Ing("2","执行中"),
		TS_Yes("3","已执行"),
		TS_NotComplete("4","未完成")
		;
		private String code;
		private String msg;
		TaskStateEnum(String code, String msg) {
			this.code = code;
			this.msg = msg;
		}
		@Override
		public String getCode() {
			return code;
		}
		@Override
		public String getMsg() {
			return msg;
		}
	}
	
	/**任务执行状态*/
	public enum TaskExeStateEnum  implements BaseCodeEnum{
		TES_Not("1","未执行"),
		TES_Ing("2","执行中"),
		TES_Yes("3","已执行"),
		TES_NotComplete("4","未完成"),
		;
		private String code;
		private String msg;
		TaskExeStateEnum(String code, String msg) {
			this.code = code;
			this.msg = msg;
		}
		@Override
		public String getCode() {
			return code;
		}
		@Override
		public String getMsg() {
			return msg;
		}
	}
	
//	/**公告公示期分类*/
//	public enum WorkNoticeShowType implements BaseCodeEnum{
//		WNS_1Day("1","1天"),
//		WNS_1Week("2","1周"),
//		WNS_2Week("3","2周"),
//		WNS_1Month("4","1月"),
//		WNS_6Month("5","半年"),
//		WNS_1Year("6","1年"),
//		;
//		private String code;
//		private String msg;
//		WorkNoticeShowType(String code, String msg) {
//			this.code = code;
//			this.msg = msg;
//		}
//		@Override
//		public String getCode() {
//			return code;
//		}
//		@Override
//		public String getMsg() {
//			return msg;
//		}
//	}
		
}
